import Cookies from 'js-cookie'

export default {
    //获取token
    getToken(TokenKey) {
        return Cookies.get(TokenKey)
    },
    //存入
    setToken(TokenKey, token) {
        return Cookies.set(TokenKey, token)
    },
    //移出
    removeToken(TokenKey) {
        return Cookies.remove(TokenKey)
    }


}